package com.ffzx.commerce.framework.exception;
import java.io.Writer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import freemarker.core.Environment;
import freemarker.template.TemplateException;
import freemarker.template.TemplateExceptionHandler;

public class FreemarkerExceptionHandler implements TemplateExceptionHandler {
	private Logger logger = LoggerFactory.getLogger(getClass());

	@Override
	public void handleTemplateException(TemplateException te, Environment env, Writer out) throws TemplateException {
		//logger.info("freeMarkerEx", te);
		throw te;
	}

}
